package org.new9uy.tetris.model.tetrimino;

import org.new9uy.tetris.GameConstants;
import org.new9uy.tetris.model.Matrix;
import org.new9uy.tetris.model.Mino;

public class S 
    extends Tetrimino
{
    public S(Matrix mtx)
    {
        super(
                new Mino[]
        {
            mtx.getMino(4, 19),
            mtx.getMino(5, 19),
            mtx.getMino(5, 20),
            mtx.getMino(6, 20)
        }, GameConstants.TETRIMINO_COLOR_S);
    }

    @Override
    public int numRotates()
    {
        return 2;
    }
}
